<%- include('../includes/header') %>
<link rel="stylesheet" href="/css/detail.css">
</head>
<body>
    <%- include('../includes/navigation') %>
    <main class="centered">
        <h1><%= product.title %></h1>
        <hr>
        <div class="detail-img">
            <img src="<%= product.imageUrl %>" alt="<%= product.title %>">
        </div>
        <h2>￥<%= product.price %></h2>
        <p><%= product.description %></p>
        <form action="/cart" method="post">
            <%- include('../includes/add-to-cart') %>
        </form>
    </main>
<%- include('../includes/end') %>